package cn.zhentao.service.Impl;

import cn.zhentao.dao.MenuDao;
import cn.zhentao.service.MenuDaoservice;
import cn.zhentao.vo.ZhVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

@Service
public class MenuDaoserviceimpl implements MenuDaoservice {

    @Autowired
    private MenuDao menuDao;
    @Override
    public Set<ZhVo> rbac(int uid) {
        Set<ZhVo> rbac = menuDao.rbac(uid);
        return rbac;
    }
}
